Skip to content

fix: Separate logical replication byte-distance alerts - #276

Merged
philippemnoel merged 3 commits into
devfrom
fix/alert-parity-logical-distance
Oct 5, 2026
Merged

philippemnoel merged 3 commits into
devfrom
fix/alert-parity-logical-distance

Conversation

@philippemnoel

@philippemnoel philippemnoel commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Add dedicated logical WAL-position distance alerts matching MCC's thresholds: above 1 GiB for five minutes, or above 4 GiB for two minutes. Retain pod, database, and subscription identity. These alerts use existing CNPG exporter metrics without a kube-state-metrics dependency.

Complements merged #270, which separated receipt-age alerts from byte-distance checks. The runbook follows the standard Description, Impact, Diagnosis, and Mitigation structure and explains that this position gap does not measure unapplied work or committed apply progress.

Validation: Helm lint, the existing Prometheus-rule rendering suite, alert exclusions, and git diff --check passed. Temporary vmalert-tool v1.148.0 fixtures passed zero/negative gaps, exact warning/critical boundaries, warning-only and critical gaps, same-named subscriptions in separate databases, and missing worker metrics.

The dedicated alert-parity-logical-distance Chainsaw suite was removed. Full Kubernetes integration remains for CI. No deployment was performed. Chart versions are generated by the publishing workflow.

@philippemnoel
philippemnoel changed the base branch from main to dev September 26, 2026 01:37
@philippemnoel
philippemnoel force-pushed the dev branch 2 times, most recently from 3448db7 to c01e6b2 Compare October 5, 2026 03:37
@philippemnoel
philippemnoel force-pushed the fix/alert-parity-logical-distance branch from 9bc97ee to 4204fe0 Compare October 5, 2026 03:46
@philippemnoel
philippemnoel force-pushed the fix/alert-parity-logical-distance branch from 4204fe0 to af27ae5 Compare October 5, 2026 05:51
@philippemnoel
philippemnoel merged commit a37ffef into dev Oct 5, 2026
21 checks passed
@philippemnoel
philippemnoel deleted the fix/alert-parity-logical-distance branch October 5, 2026 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant